import Vue from 'vue'
import App from '@/App.vue'
import router from '@/router'
import store from '@/store'
import '@/plugins/element.js'
import '@/styles/resect.css'
import './assets/css/element-ui.css'
import '@/assets/css/font/iconfont.css'
import dataV from '@jiaminghi/data-view';
Vue.use(dataV);

// 按需引入vue-awesome图标
import Icon from 'vue-awesome/components/Icon';
import 'vue-awesome/icons/chart-bar.js';
import 'vue-awesome/icons/chart-area.js';
import 'vue-awesome/icons/chart-pie.js';
import 'vue-awesome/icons/chart-line.js';
import 'vue-awesome/icons/align-left.js';
import "amfe-flexible";

import uploader from 'vue-simple-uploader'

Vue.use(uploader)

/* eslint-disable no-new */
// new Vue({
//   render(createElement) {
//     return createElement(App)
//   }
// }).$mount('#app')

// 全局注册图标
Vue.component('icon', Icon);



// 引入全局css
import '@/styles/resect.css'


//引入echart
// import echarts from 'echarts'
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts

Vue.config.productionTip = false;

new Vue({
    router,
    store,
    render: (h) => h(App),
}).$mount('#app');